package com.jhhc.utils;

import java.util.Arrays;
import java.util.List;

public class ArrayAsList {

    public static List<String> ArrayList(String string) {
        System.out.println("开始调用");

        List<String> list = Arrays.asList(string.split(";"));
        List<String> strList = null;
        System.out.println(list.size() + "集合长度");
        for (int i = 0; i < list.size(); i++) {
            strList = Arrays.asList(list.get(i).split(","));
            System.out.println(list.get(i).split(",").toString() + "调取结束");
        }

        System.out.println(strList + "strListchangdu");
        boolean res = strList.get(0).equals("");
        System.out.println(res);
        return strList;
    }


}
